* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: '华文中宋';
}

body {
    width: 100%;
    height: 100vh;
    /* background-color: black; */
    background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
}

.header {
    z-index: 10;
    position: relative;
    width: 100%;
    height: 7%;
    background-image: linear-gradient(90deg, #5ee7df 0%, #b490ca 100%);
}

.header-left {
    float: left;
}

.header-left h2 {
    color: white;
    text-indent: 1rem;
    line-height: 40px;
}

.center {
    position: relative;
    width: 100%;
    margin-top: 1px;
    height: 95%;
}

.center-left {
    position: absolute;
    left: 0;
    width: 75%;
    height: 100%;
    background-image: linear-gradient(to right, #a8edea 0%, #fed6e3 100%);
}


/* 签到按钮 */

.qiandao {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    width: 10%;
    height: 50px;
    cursor: pointer;
    border-radius: 30px;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
}

.center-right {
    position: absolute;
    right: 0;
    width: 25%;
    height: 100%;
    border-radius: 10px;
    border: 10px solid #f5f7fa;
    overflow: hidden;
    background: #C9CCD3;
    background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
    /* background-image: radial-gradient(circle 248px at center, #16d9e3 0%, #30c7ec 47%, #46aef7 100%); */
}

.nav {
    float: right;
    width: 25%;
    height: 100%;
    display: flex;
    text-align: center;
}

.nav>li {
    text-align: center;
    float: left;
    flex: 1;
    line-height: 48px;
    margin: 0 5px;
    /* padding: 0 15px; */
}

.item {
    background-color: rgb(15, 20, 25);
}

.item li {
    position: relative;
    text-align: center;
}

.item li:nth-child(1):before {
    content: '';
    position: absolute;
    top: -19px;
    right: 50%;
    transform: translate(50%, 0);
    border: 10px solid transparent;
    border-bottom-color: rgb(15, 20, 25);
}

a {
    text-decoration: none;
}

li ul {
    display: none;
}

li {
    list-style: none;
}

.cloud {
    z-index: -1;
    position: absolute;
    left: 1068px;
    width: 100px;
    height: 49px;
    background-color: rgba(255, 228, 196, 0);
    /* border: 1px solid rgb(15, 20, 25); */
    /* border-radius: 30px; */
}


/* .cloud::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 48px;
    background-color: rgba(255, 228, 196, 0.685);
} */

.nav-son a {
    display: inline-block;
    width: 100%;
    height: 100%;
    color: white;
}

.item li a:hover {
    z-index: -1;
    background-color: rgba(245, 222, 179, 0.212);
}

.comment-bottom {
    position: relative;
    width: 100%;
    height: 40%;
    background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
}

.comment-icon img {
    margin-top: 5px;
    height: 42px;
}

.comment-icon div {
    float: right;
    margin-right: 22px;
}

.comment-icon div:nth-child(1) {
    float: left;
    margin-left: 8px;
}

.comment-icon div .comment-input {
    resize: none;
    border: none;
    outline: none;
    appearance: none;
    background-color: rgb(15, 20, 25);
    height: 80%;
    width: 100%;
    padding: 20px;
    font-size: 20px;
    color: white;
}

.comment-submit {
    position: absolute;
    cursor: pointer;
    bottom: 15px;
    right: 20px;
    width: 60px;
    line-height: 28px;
    height: 35px;
    border-radius: 10px;
    border: 4px solid #e2ebf0;
    background-image: linear-gradient(-45deg, #5ee7df 0%, #b490ca 100%);
    text-align: center;
}


/* 聊天框 */

.center-right {
    float: right;
    width: 25%;
    height: 100%;
    background-color: rgb(27, 33, 40);
}

.comment-top {
    position: relative;
    width: 100%;
    height: 60%;
    /* overflow: hidden; */
}

.comment-bottom {
    position: relative;
    width: 100%;
    height: 40%;
    background-color: rgb(34, 41, 49);
}

.comment-icon {
    height: 20%;
    width: 100%;
}

.comment-input {
    resize: none;
    border: none;
    outline: none;
    appearance: none;
    height: 80%;
    width: 100%;
    padding: 20px;
    font-size: 20px;
    color: black;
}

.comment {
    position: absolute;
    margin-bottom: -16px;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    overflow: scroll;
}

.comment-son {
    display: inline-block;
    margin: 10px 0;
    margin-left: 10px;
    /* margin-right: 100px; */
    /* height: 30px; */
    border-radius: 13px;
    border: 1px solid greenyellow;
    color: hotpink;
    padding: 0 10px;
    line-height: 30px;
}

.comment-father {
    /* position: relative; */
    margin-bottom: 15px;
}

.comment-user {
    /* position: absolute; */
    display: block;
    margin-left: 10px;
    color: white;
}

.item:last-child {
    position: relative;
}

.user-item {
    position: absolute;
    top: 0;
    left: -100px;
    display: none;
    width: 100px;
    height: 100px;
    border: 1px solid white;
}

.getmessage {
    z-index: 11;
    display: none;
    position: absolute;
    top: 330px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 500px;
    background-color: white;
    border-radius: 10px;
}

.getmessage span {
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 30px;
    line-height: 28px;
    border: 1px solid black;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
}

.getmessage .messages {
    display: block;
    width: 70%;
    height: 80%;
    margin: auto;
}

.getmessage .messages li {
    width: 100%;
    height: 50px;
    line-height: 50px;
}

.wrap {
    display: none;
    width: 200px;
    height: 200px;
    border: 1px solid #ccc;
}

.content-wrap {
    height: 80%;
    background-color: #000;
    color: #fff;
    user-select: none;
}

.like-wrap {
    height: 20%;
    font-size: 20px;
    color: #ccc;
    cursor: pointer;
    user-select: none;
}

.like-active {
    color: red;
}

.like {
    position: absolute;
    color: #ccc;
    font-size: 20px;
    user-select: none;
}

.notLogin {
    color: white;
}